package com.miaosha.service;

import com.miaosha.error.ErrorException;
import com.miaosha.model.OrderModel;

public interface OrderService {

    OrderModel createOrder(Integer userId, Integer productId, Integer promoId, Integer amount) throws ErrorException;
}
